package com.ossjk.qlh.tgb.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ossjk.core.base.entity.BaseEntity;
import com.ossjk.core.system.annotation.OptionDictionary;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * Copyright  Fri Jan 21 20:50:21 CST 2022 QLH. Tech Ltd. All rights reserved.
 * 
 * @Package: com.ossjk.qlh.projects
 * @ClassName: OrderDetails
 * @Description: OrderDetails-实体类
 * @author: chair
 * @date:  2022-01-21 20:50:22 
 */
@ApiModel(value = "订单详情内容")
@Data
public class OrderDetails extends BaseEntity<OrderDetails> {

	private static final long serialVersionUID = 1L;


	/**
	 * 商品详情的id
	 */
	@ApiModelProperty(value = "商品详情的id")
	@TableField("product_id")
	private String product_id;
	/**
	 * 订单信息的id
	 */
	@ApiModelProperty(value = "订单信息的id")
	@TableField("order_id")
	private String order_id;
	/**
	 * 商品价格
	 */
	@ApiModelProperty(value = "商品价格")
	@TableField("price")
	private BigDecimal price;
	/**
	 * 商品详情
	 */
	@ApiModelProperty(value = "商品详情")
	@TableField("param")
	private String param;
	/**
	 * 商品数量
	 */
	@ApiModelProperty(value = "商品数量")
	@TableField("count")
	private Integer count;
	/**
	 * 是否退款
	 */
	@OptionDictionary(key = "orderDetail-status")
	@ApiModelProperty(value = "是否退款")
	@TableField("is_refound")
	private Integer isRefound;


}
